//回路产品分页查询
export function McontrolProductPageinfo(msg) {
    var data={}
    data.start=msg.perpage*(msg.currentPage-1)+1;
    data.limit=msg.perpage;
    if(msg.filterValue != undefined)
    {
        data.filterValue=msg.filterValue;
        data.filterTxt=msg.filterTxt;
    }

    var url
    url='/loopproduct/doPagedQuery.do'

    return {"url":url ,"data":data}
}

//回路产品新增
export function McontrolProductSave(msg) {
    var url
    url='/loopproduct/doSave.do'

    return {"url":url ,"data":msg}
}

//回路产品删除
export function McontrolProductRemove(msg) {
    var data={}
    data.id = msg;

    var url
    url='/loopproduct/doRemove.do'

    return {"url":url ,"data":data}
}
